package com.lovcreate.shop.mgt.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 文件名：LogProperty
 * 创建人：victor
 * 创建日期 2017-01-20
 * 描  述：
 * 版本号： 1.0
 **/
public class LogProperty {
    public  static  String  endpoint;
    public  static  String  ossEndpoint;
    public  static  String  accessKeyId;
    public  static  String  accessKeySecret;
    public  static  String  project;
    public  static  String logStore_pay ;
    public  static  String bucketName ;

    static {
        InputStream inputStream = LogProperty.class.getClassLoader().getResourceAsStream("aliyunlog.properties");
        Properties properties = new Properties();
        try {
            properties.load(inputStream);
        } catch (IOException e) {
            e.printStackTrace();
        }

        endpoint = properties.getProperty("endpoint");
        ossEndpoint = properties.getProperty("ossEndpoint");
        accessKeyId = properties.getProperty("accessKeyId");
        accessKeySecret = properties.getProperty("accessKeySecret");
        project = properties.getProperty("project");
        bucketName =  properties.getProperty("bucketName");
        logStore_pay = properties.getProperty("logStore_pay");

    }
}
